﻿using MediatR;
using SmartTracking.API.Read.EweDTO;
using SmartTracking.Domain.EWE;
using SmartTracking.ErrorCode;

namespace SmartTracking.API.Read.Application.Commands.EWEQuery
{
    public class GetPregnancyCommand: IRequest<ApiResult<ApiPaging<MainPregnancyDTO>>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 10;
        
        /// <summary>
        /// 妊检开始时间
        /// </summary>
        public DateTime? StartPregnancyTime { get; set; }
        
        /// <summary>
        /// 妊检结束时间
        /// </summary>
        public DateTime? EndPregnancyTime { get; set; }
        
        /// <summary>
        /// 耳号
        /// </summary>
        public string? PregnancySnowId { get; set; }
        
        /// <summary>
        /// 负责人
        /// </summary>
        public string? ResponsibleFor { get; set; }
        
        /// <summary>
        /// 妊检结果
        /// </summary>
        public string? PregnancyResult { get; set; }
        
        /// <summary>
        /// 同胎数
        /// </summary>
        public int? PregnancySameNum { get; set; }
    }
}
